package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.expressions.UnaryExpression;
import net.ericaro.neojavagen.expressions.MultiplicativeExpressionRest ;

/**
* *<pre> MultiplicativeExpression :
    UnaryExpression MultiplicativeExpressionRest?
</pre>
*/
public class MultiplicativeExpression   {

UnaryExpression unaryexpression;
MultiplicativeExpressionRest multiplicativeexpressionrest ;

public MultiplicativeExpression( UnaryExpression unaryexpression, MultiplicativeExpressionRest multiplicativeexpressionrest ){
	this.unaryexpression = unaryexpression; this.multiplicativeexpressionrest = multiplicativeexpressionrest ;
	}public MultiplicativeExpression( UnaryExpression unaryexpression ){
this.unaryexpression = unaryexpression ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.unaryexpression ).append(" ");
if (this.multiplicativeexpressionrest !=null ) stringbuilder.append( this.multiplicativeexpressionrest ).append(" ") ;
	return stringbuilder.toString();
}

}
